package com.qyl.honghengshop.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qyl.honghengshop.dto.TimeLimit;
import com.qyl.honghengshop.utils.PageBean;

public interface TimeMapper {

	int getRecordCount(TimeLimit time);

	List<TimeLimit> timeList(@Param("pageBean")PageBean pageBean,@Param("time")TimeLimit time);

	int timeAdd(TimeLimit time);

	int delTime(Integer id);

	TimeLimit getTimeById(Integer id);

	int timeUpdate(TimeLimit time);

	List<TimeLimit> getAllTimeLimit();

	void deleteGoodsTimeById(Integer id);

}
